
import request from '@/utils/request'

// request
/***************************************************** common ****************************************************/

/**
 * 账号登录
 */
export const loginApi: ILoginApi = function(data) {
    return request.get(`htscrm/admin/login/site`, data, { showErrorMessage: true }) as ReturnType<ILoginApi>
}

/**
 * 获取opened
 */
export const getOpenIdApi: IGetInfoApi = function(data) {
    return request.get(`htscrm/admin/index/wechat`, data, { showErrorMessage: true }) as ReturnType<IGetInfoApi>
}

